package cn.gson.springboot.model.service.cusservice;

import cn.gson.springboot.model.mapper.cusmapper.MyLogMapper;
import cn.gson.springboot.model.pjos.Mylog;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class MyLogService {
    @Autowired
    MyLogMapper myLogMapper;

    //    查询当前登录人的操作日志
    public List<Mylog> myLog(Integer empId){
        return myLogMapper.myLog(empId);
    }
}
